﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// “用户控件”项模板在 http://go.microsoft.com/fwlink/?LinkId=234236 上提供

namespace Itcast.Chat.Controls
{
    public sealed partial class MyUserControl1 : UserControl
    {
        /// <summary>
        /// 代理当前这个用户控件中的图标对象的图标属性
        /// </summary>
        public Symbol Icon
        {
            get
            {
                return icon.Symbol;
            }
            set
            {
                icon.Symbol = value;
            }
        }
        public string Text { get { return txt.Text; } set { txt.Text = value; } }


        public MyUserControl1()
        {
            this.InitializeComponent();
        }
    }
}
